/*
 * @Author: 张仁会 28396543@qq.com
 * @Date: 2022-09-01 14:27:18
 * @LastEditors: 张仁会 28396543@qq.com
 * @LastEditTime: 2022-09-03 10:53:32
 * @FilePath: \store_system\src\uitls\index.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import axios from 'axios'
const request = axios.create({
  baseURL: 'http://localhost:3000'
})
request.interceptors.response.use((res) => {
  return res.data
})
export default request
